﻿<Window x:Class="IGL_Talk_Windows_Desktop.View.NotificationView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
        Title="LoginView" SizeToContent="Height" AllowsTransparency="True" WindowStyle="None"
        Background="Transparent" Foreground="White" FontSize="12" Top="{Binding Position}"
        ResizeMode="NoResize" ShowInTaskbar="False" Topmost="True" MaxHeight="120"
        Closing="NotificationWindow_Closing"  Width="320">
    <Border CornerRadius="2" Background="{DynamicResource BlueGradient}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <StackPanel Grid.Row="0" Width="30" HorizontalAlignment="Right">
                <Button Click="Button_Click" Style="{DynamicResource CloseButton}" FontSize="14" Content="x"/>
            </StackPanel>
            <StackPanel Grid.Row="1" VerticalAlignment="Center"  Margin="20,-20,20,20">
                <StackPanel  Orientation="Horizontal" Margin="0,0,0,5" >
                    <Image Width="40" Source="..\logo.png"/>
                    <Label Content="IGLTalk" Margin="5,0,0,0" VerticalAlignment="Bottom" FontSize="20" Foreground="White" />
                </StackPanel>
                <TextBlock Text="{Binding Message}"  TextWrapping="WrapWithOverflow" />
                 </StackPanel>
        </Grid>
    </Border>
</Window>
